-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib: system: nuttx: fix undeclared parameter compile error #315
Conversation
498f5c5
to
9efae62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just code style remarks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after addressing Arnaud's concerns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to go if Arnaud's suggestions are implemented.
9efae62
to
8b5739f
Compare
fix compile error: /nuttx/openamp/libmetal/lib/system/nuttx/device.c:16:22: error: 'io' undeclared (first use in this function) 16 | metal_unused(io); /nuttx/openamp/libmetal/lib/system/nuttx/device.c:14:53: error: unused parameter 'dev' [-Werror=unused-parameter] 14 | int metal_generic_dev_sys_open(struct metal_device *dev) ... Signed-off-by: Yongrong Wang <[email protected]>
8b5739f
to
53ff675
Compare
@arnopo Thanks, I have update. @edmooring @tnmysh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: We usually use the same approach as in the Linux Kernel for the hierarchy description in the commit subject. I will update the commit subject for this one. Please take it into account for other PRs.
lib/system/nuttx: fix undeclared parameter compile error
should become
lib: system; nuttx: fix undeclared parameter compile error
fix compile error:
/home/wyr/work/code/project/cardev/nuttx/openamp/libmetal/lib/system/nuttx/device.c:16:22: error: 'io' undeclared (first use in this function)
16 | metal_unused(io);
/home/wyr/work/code/project/cardev/nuttx/openamp/libmetal/lib/system/nuttx/device.c:14:53: error: unused parameter 'dev' [-Werror=unused-parameter]
14 | int metal_generic_dev_sys_open(struct metal_device *dev)
...